package com.cssw.fyzb.web.service;

import com.cssw.fyzb.base.web.domain.AjaxData;
import com.cssw.fyzb.core.dao.user.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author YangYiQun
 */
@Service
public class HelloService {

    @Autowired
    UserDao userDao;

    public AjaxData getUserInfo(Long userId) {
        return AjaxData.success(userDao.getById(userId));
    }
}
